package edu.tyut.ncp.service;

import com.github.pagehelper.PageInfo;
import edu.tyut.ncp.entity.Expert;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface ExpertService {
    void delete(String type);

    void insert(Expert record);

    Expert selectById(String type);

    void updateById(Expert record);

    List<Expert> selectAllExpert();

    PageInfo<Expert> findPage(Integer pageNum);

    PageInfo<Expert> findPageByKeys(String keys, Integer pageNum);
}
